<?php


namespace EchoPHP\Session;


use EchoPHP\Foundation\ServiceProvider;

class SessionServiceProvider extends ServiceProvider {
    protected $defer = true;

    public function register() {
        $this->app->singleton('session', function () {
            return new SessionManager($this->app);
        });
    }

    public function provides() {
        return ['session'];
    }
}